<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>test</title>
	<script   src="__JS__/ggk/jquery.js" type="text/javascript"></script>
	<script type="text/javascript" src="__JS__/layer.js"></script>
	<script type="text/javascript" src="__JS__/layer.ext.js"></script>
	<link rel="stylesheet" href="__CSS__/layer.css">
</head>
<body>
<script>
  $(function(){
    layer.config({extend: 'extend/layer.ext.js'});
  })
</script>
	<input type="submit" onclick="javascript:getgit()">
	<script type="text/javascript">
  function getgit(){
	  	 $.post("/Home/ggk/getress.html",function(data){
	          	var getgit= $('#getgit');
	          	var pm=$('#red').text();
	          	var text='恭喜你中了<font color="red">'+pm+'</font>，获得'++'';
	            for (var i = 0; i < data.length; i++) {
	              html=html+'恭喜你中了'
	            }
	            getgit.append(html)
	          })
        layer.open({
        type: 1, //page层
        area: ['500px', '300px'],
        title: '中奖啦！',
        shade: 0.6, //遮罩透明度
        moveType: 1, //拖拽风格，0是默认，1是传统拖动
        shift: 5, //0-6的动画形式，-1不开启
        id:'getgit',
        
      });     
}
	</script>
</body>
</html>